Kernel rbd & cephx signatures
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
I found two maybe related bugs in the tracker (#4287, #3657) but both are resolved, so I'm wondering if there's spmething I'm doing wrong. Has anybody sucessfully mapped rbd images with kernel rbd, when cephx require signatures is set to true in the cluster?
Thanks for your help,
best regards,
Kurt
Quoted 39 lines · Kurt Bauer
Hi,
I have to "open" our CEPH cluster for some clients, that only support kernel rbd. In general that's no problem and works just fine (verified in our test-cluster ;-) ). I then tried to map images from our production cluster and failed: rbd: add failed: (95) Operation not supported
After some testing and comparing test and production cluster, it turned out that the config option, that hinders the kernel to map the image is cephx require signatures = true
If I read the documentation
(http://ceph.com/docs/master/rados/operations/authentication/#backward-compatibility)
correctly that flag is recommended, which leads to two questions:
1. When will cephx signatures make it to kernel rbd (it's not there till at least 3.12.0 and I've found no reference in the changelogs of subsequent versions) ?
2. As I have to assess the risk when disabling cephx signatures, do you have some estimations how probable a "real life" attack is, ie. are there real threats for the whole infrastructure or is it "just" possible to disturb the communication of exactly that client in whose communicationmalicious messages are forced?Thanks a lot for your help,
best regards,
KurtPS.: If my conclusion is correct, maybe that should be mentioned somewhere at http://ceph.com/docs/master/rbd/rbd-ko/
Signature · 9 lines
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe Tel: ++43 1 4277 - 14070 (Fax: - 814070) KB1970-RIPE _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Signature · 4 lines
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPE
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Hi Kurt,
Your original analysis is correct: cephx signatures aren't yet implemented in the kernel client. I don't have a good indication of when this will be prioritized, unfortunately.
I'm not aware of anybody who has targetted this or has even made note of the potential vulnerability. It requires someone to hijack the TCP session in order to take advantage of it (e.g., MITM), though, so there are many environments where it is not a big concern.
sage
Quoted 61 lines · Kurt Bauer
Hi,
I found two maybe related bugs in the tracker (#4287, #3657) but both are resolved, so I'm wondering if there's spmething I'm doing wrong. Has anybody sucessfully mapped rbd images with kernel rbd, when cephx require signatures is set to true in the cluster?
Thanks for your help,
best regards,
KurtKurt Bauer schrieb:
Hi,I have to "open" our CEPH cluster for some clients, that only
support kernel rbd. In general that's no problem and works just
fine (verified in our test-cluster ;-) ). I then tried to map
images from our production cluster and failed: rbd: add failed:
(95) Operation not supported
After some testing and comparing test and production cluster, it
turned out that the config option, that hinders the kernel to
map the image is cephx require signatures = true
If I read the documentation(http://ceph.com/docs/master/rados/operations/authentication/#backward-comp atibility) correctly that flag is recommended, which leads to
two questions:
1. When will cephx signatures make it to kernel rbd (it's not
there till at least 3.12.0 and I've found no reference in the
changelogs of subsequent versions) ?
2. As I have to assess the risk when disabling cephx signatures,
do you have some estimations how probable a "real life" attack
is, ie. are there real threats for the whole infrastructure or
is it "just" possible to disturb the communication of exactly
that client in whose communication malicious messages are forced
?Thanks a lot for your help,
best regards,
KurtPS.: If my conclusion is correct, maybe that should be mentioned somewhere at http://ceph.com/docs/master/rbd/rbd-ko/
--
Kurt Bauer <[email protected]>
Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 814070) KB1970-RIPE_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com--
Kurt Bauer <[email protected]>
Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPE
A message that is not in the archive (sent off-list or not yet received): alpine.DEB.2.00.1402100628000.32473-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org
Hi Sage,
thanks for your answer.
Am I right, that the communication between nodes that support cephx signatures is still signed, although the option is set to false? So only the communication between the client, mapping the rbd, and the relevant OSDs and MONs is not signed?
Thanks,
best regards,
Kurt
Quoted 76 lines · Sage Weil
Hi Kurt,
Your original analysis is correct: cephx signatures aren't yet implemented in the kernel client. I don't have a good indication of when this will be prioritized, unfortunately.
I'm not aware of anybody who has targetted this or has even made note of the potential vulnerability. It requires someone to hijack the TCP session in order to take advantage of it (e.g., MITM), though, so there are many environments where it is not a big concern.
sage
Quoted 60 lines · Kurt Bauer
Hi,
I found two maybe related bugs in the tracker (#4287, #3657) but both are resolved, so I'm wondering if there's spmething I'm doing wrong. Has anybody sucessfully mapped rbd images with kernel rbd, when cephx require signatures is set to true in the cluster?
Thanks for your help,
best regards,
KurtKurt Bauer schrieb:
Hi,I have to "open" our CEPH cluster for some clients, that only
support kernel rbd. In general that's no problem and works just
fine (verified in our test-cluster ;-) ). I then tried to map
images from our production cluster and failed: rbd: add failed:
(95) Operation not supported
After some testing and comparing test and production cluster, it
turned out that the config option, that hinders the kernel to
map the image is cephx require signatures = true
If I read the documentation(http://ceph.com/docs/master/rados/operations/authentication/#backward-comp atibility) correctly that flag is recommended, which leads to
two questions:
1. When will cephx signatures make it to kernel rbd (it's not
there till at least 3.12.0 and I've found no reference in the
changelogs of subsequent versions) ?
2. As I have to assess the risk when disabling cephx signatures,
do you have some estimations how probable a "real life" attack
is, ie. are there real threats for the whole infrastructure or
is it "just" possible to disturb the communication of exactly
that client in whose communication malicious messages are forced
?Thanks a lot for your help,
best regards,
KurtPS.: If my conclusion is correct, maybe that should be mentioned somewhere at http://ceph.com/docs/master/rbd/rbd-ko/
--
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 814070) KB1970-RIPE_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com--
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPE
Signature · 4 lines
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPE
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Correct. During the intiial handshake, the to ends will decide whether
to use signatures based on whether it is supported by both ends. That option allows them to continue even if it is not. You probably want the more specific options:
cephx_require_signatures = falsecephx_cluster_require_signatures = truecephx_service_require_signatures = false
...so that only the clients are off the hook.
sage
Quoted 96 lines · Kurt Bauer
Hi Sage,
thanks for your answer.
Am I right, that the communication between nodes that support cephx signatures is still signed, although the option is set to false? So only the communication between the client, mapping the rbd, and the relevant OSDs and MONs is not signed?Thanks,
best regards,
KurtQuoted 76 lines · Sage Weil
Hi Kurt,
Your original analysis is correct: cephx signatures aren't yet implemented in the kernel client. I don't have a good indication of when this will be prioritized, unfortunately.
I'm not aware of anybody who has targetted this or has even made note of the potential vulnerability. It requires someone to hijack the TCP session in order to take advantage of it (e.g., MITM), though, so there are many environments where it is not a big concern.
sage
Quoted 60 lines · Kurt Bauer
Hi,
I found two maybe related bugs in the tracker (#4287, #3657) but both are resolved, so I'm wondering if there's spmething I'm doing wrong. Has anybody sucessfully mapped rbd images with kernel rbd, when cephx require signatures is set to true in the cluster?
Thanks for your help,
best regards,
KurtKurt Bauer schrieb:
Hi,I have to "open" our CEPH cluster for some clients, that only
support kernel rbd. In general that's no problem and works just
fine (verified in our test-cluster ;-) ). I then tried to map
images from our production cluster and failed: rbd: add failed:
(95) Operation not supported
After some testing and comparing test and production cluster, it
turned out that the config option, that hinders the kernel to
map the image is cephx require signatures = true
If I read the documentation(http://ceph.com/docs/master/rados/operations/authentication/#backward-comp atibility) correctly that flag is recommended, which leads to
two questions:
1. When will cephx signatures make it to kernel rbd (it's not
there till at least 3.12.0 and I've found no reference in the
changelogs of subsequent versions) ?
2. As I have to assess the risk when disabling cephx signatures,
do you have some estimations how probable a "real life" attack
is, ie. are there real threats for the whole infrastructure or
is it "just" possible to disturb the communication of exactly
that client in whose communication malicious messages are forced
?Thanks a lot for your help,
best regards,
KurtPS.: If my conclusion is correct, maybe that should be mentioned somewhere at http://ceph.com/docs/master/rbd/rbd-ko/
--
Kurt Bauer <[email protected]>
Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 814070) KB1970-RIPE_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com--
Kurt Bauer <[email protected]>
Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe
Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPESignature · 4 lines
Kurt Bauer <[email protected]> Vienna University Computer Center - ACOnet - VIX Universitaetsstrasse 7, A-1010 Vienna, Austria, Europe Tel: ++43 1 4277 - 14070 (Fax: - 9140) KB1970-RIPE